<?php

namespace app\admin\controller;

use think\Request;
use think\Db;
use think\Controller;
use think\Log;
class Xiaoxi extends Controller
{
	public function Guestbook()
	{   
		$data=Db::name('inorder')->where('ddzt','已签收')->select();
		//dump($data);
		
		$this->assign('data',$data);
		return $this->fetch();
	}
	public function delete($orderid)
	{   
		$delete=Db::name('inorder')->where('orderid',$orderid)->delete();
		if($delete){
			$this->success('删除成功！','guestbook');
		}
	}
}